package com.xiaoshuidi.cloud.module.report.dal.mapper.report;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.xiaoshuidi.cloud.framework.mybatis.core.mapper.BaseMapperX;
import com.xiaoshuidi.cloud.module.report.controller.ajreport.vo.ReportRentPeriodDetailsReqVO;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.ReportRentPeriodDetailsDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@InterceptorIgnore(tenantLine = "true")
public interface ReportRentPeriodDetailsMapper extends BaseMapperX<ReportRentPeriodDetailsDO> {


    List<ReportRentPeriodDetailsDO> selectAllDetailsByPage(@Param("from") int from, @Param("pageSize") int pageSize);

    long countRentDetailsForExport(@Param("req") ReportRentPeriodDetailsReqVO req);

    List<ReportRentPeriodDetailsDO> selectRentDetailsForExport(@Param("req") ReportRentPeriodDetailsReqVO req, @Param("from") Integer from, @Param("pageSize") Integer pageSize);


}
